package com.twetec.cms.model.vo.website;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.twetec.cms.model.vo.base.BaseVO;
import io.swagger.annotations.ApiModelProperty;

public class WhiteVO extends BaseVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id", example = "12345646546")
    private Long id;

    @ApiModelProperty(value = "名称", example = "12345646546")
    private String name;

    @ApiModelProperty(value = "状态 启用:ON 禁用:OFF", example = "ON")
    private String status;

    @ApiModelProperty(value = "ip", example = "127.0.0.1")
    private String ip;

    @ApiModelProperty(value = "keyID", example = "234278978")
    private String keyID;

    @ApiModelProperty(value = "keySecret", example = "3kkj3454ljk434")
    private String keySecret;

    @ApiModelProperty(value = "备注", example = "这是备注")
    private String remark;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getKeyID() {
        return keyID;
    }

    public void setKeyID(String keyID) {
        this.keyID = keyID;
    }

    public String getKeySecret() {
        return keySecret;
    }

    public void setKeySecret(String keySecret) {
        this.keySecret = keySecret;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WhiteVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", ip='" + ip + '\'' +
                ", keyID='" + keyID + '\'' +
                ", keySecret='" + keySecret + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
